package com.jlcindia;

public class OopTest35 {

	public static void main(String[] args) {
		Hai1 hai=new Hai1();
		hai.show();
		hai.process();
		hai.execute();
	}
}
class Hello2{
	void show(){
		System.out.println("\n**show() from Hello**");
	}
	void process(){
		System.out.println("\n**process() from Hello**");
	}
	void execute(){
		System.out.println("\n**execute() from Hello**");
	}
}
class Hai1 extends Hello2{
	void process(){
		System.out.println("\n**process() from Hai**");
	}
	void execute(){
		System.out.println("\n**execute() from Hai**");
		super.execute();
	}
}
